<template>
    <div>
        <div class="nameGoCodeHeader">
            <a @click="backClick"><i class="el-icon-arrow-left"></i></a>
            <span>{{title}}</span>
            <a></a>
        </div>
    </div>
</template>

<script>
export default {
    name: 'usertop',
    props: ['title'],
    methods:{
        backClick(){
            this.$router.back(-1)
        },
    }

}
</script>

<style lang="scss" scoped>
.nameGoCodeHeader{
    height: 70px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1e9e9;
    padding: 10px 20px 10px 0;
    .el-icon-arrow-left{
        font-size: 40px;
        margin-left: 10px;
    }

    span{
        font-size: 32px;
    }

}
</style>